import java.util.Scanner;

public class Test5 {
    public static int max2(int m, int n) {
        return m > n ? m : n;
    }

    public static int max3(int m, int n, int t) {
        return max2(m, max2(n, t));
    }

    public static double max2(double m, double n) {
        return m > n ? m : n;
    }

    public static double max3(double m, double n, double t) {
        return max2(m, max2(n, t));
    }

    public static void main(String[] args) {
        System.out.println("输入3个数");
        Scanner in = new Scanner(System.in);
        int m = in.nextInt();
        int n = in.nextInt();
        int t = in.nextInt();
        System.out.println("最大值是：" + max3(m, n, t));
    }
}
